package cn.com.zsw.gblog.modules.gblog.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author: shiwangZhou
 * @Description:
 * @Date: 2020-06-22 11:41
 */
@Data
public class CommentSubmitDTO {

    @NotBlank
    @ApiModelProperty(value = "博客Id")
    private String postId;

    @ApiModelProperty(value = "父级评论Id")
    private String parentId;

    @ApiModelProperty(value = "父级评论Id")
    private String fromUserId;

    @ApiModelProperty(value = "评论人昵称")
    private String fromUserName;

    @ApiModelProperty(value = "评论人头像")
    private String fromUserAvatar;

    @ApiModelProperty(value = "被评论人Id")
    private String toUserId;

    @ApiModelProperty(value = "被评论人昵称")
    private String toUserName;

    @ApiModelProperty(value = "被评论人头像")
    private String toUserAvatar;

    @NotBlank
    @ApiModelProperty(value = "评论")
    private String comment;
}


